<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="${base}/resources/js/lib/jquery.1.11.3.min.js"></script>
<script type="text/javascript" src="${base}/resources/js/lib/jquery.md5.js"></script>
</head>
<body>
<form action="${base}/admin/employee/save" method="post" target="_top" onsubmit="encrypt();">
		<input type="hidden" name="deptId" value="${deptId}"/>
		<input type="hidden" name="password"/>
		员工名称：<input type="text" name="name"/>
		员工工号：<input type="text" name="workNumber"/>
		职位：<input type="text" name="position"/>
		用户名：<input type="text" name="username"/>
		密码：<input type="text" name="pwd"/>
		排序号：<input type="text" name="orderNum"/>
		<button>提交</button>
	</form>
</body>
<script type="text/javascript">
function encrypt(){
	$("[name='password']").val($.md5($("[name='pwd']").val()));
	return true;
}
</script>
</html>